using System;
using System.Collections.Generic;
using System.Text;

namespace CoVuaCtrl
{
    public class BanCo
    {
        private QuanCo[,] _dsOCo = new QuanCo[8,8];

        public QuanCo layQuanCo(int x, int y)
        {
            return _dsOCo[x,y];
        }

        public void ganQuanCo(int x, int y, QuanCo qc)
        {
            _dsOCo[x,y] = qc;

            if (qc != null)
                qc.ganViTri(x, y);
        }
    }
}
